<?php
$this->widget('ext.pagetitle.PageTitle',array(
	'parts'=>array(Yii::t('frontend','Register')),
));

$this->breadcrumbs=array(
	Yii::t('frontend','Register'),
);
?>
<div class="site-register">

	<h1><?php echo Yii::t('frontend','Register'); ?></h1>

	<p><?php echo Yii::t('frontend','Fill out the form below to create your account.'); ?></p>

	<fieldset>

		<?php $form=$this->beginWidget('BootstrapActiveForm', array(
			'id'=>'register-form',
			'enableAjaxValidation'=>true,
		)); ?>

			<?php echo $form->textFieldBlock($model,'email'); ?>

			<?php echo $form->passwordFieldBlock($model,'password'); ?>

			<?php echo $form->passwordFieldBlock($model,'password2'); ?>

			<?php /*
			<div class="facebook-connect">
				<p><?php echo Yii::t('frontend','Or register using your Facebook account'); ?></p>
				<fb:login-button scope="email" size="large" onlogin="window.location.reload();"><?php echo Yii::t('frontend','Connect to Facebook'); ?></fb:login-button>
			</div>
			*/ ?>

			<div class="actions">
				<?php echo CHtml::submitButton(Yii::t('frontend','REGISTER'),array('class'=>'btn primary')); ?>
			</div>

		<?php $this->endWidget(); ?>

	</fieldset>

</div>